package com.sca.order.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author liuxianfei
 * @since 2020/11/3 10:49
 */
@Getter
@AllArgsConstructor
public enum OrderStateEnum {

    /**
     * 订单状态
     */
    INIT(0, "初始状态"),
    PAID(10, "已支付"),
    COMPLETE(20, "已完成");

    @EnumValue
    private final Integer value;
    private final String desc;

}
